<div class="modal-header" id="scope">
    <h3 class="modal-title" ng-if="param.type == 'insert'">新增</h3>
    <h3 class="modal-title" ng-if="param.type == 'update'">修改</h3>
</div>
<div class="modal-body">
    <form name="myForm" class="form-horizontal form-validation">
        <div class="panel panel-default">
            <div class="panel-body">
                <div class="form-group" ng-show="param.type == 'update'">
                    <label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>编号：</label>
                    <div class="col-sm-5">
                        <input type="text" class="form-control" placeholder="编号" ng-model="param.data.id" ng-readonly="true" ng-maxlength="6" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>开始时间：</label>
                    <div class="col-sm-5">
                        <input type="text" class="form-control" placeholder="开始时间" ng-model="param.data.start" ng-pattern="/^([0-1]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/"
                            required/>
                    </div>
                    <p>必填，格式为：00:00:00</p>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>结束时间：</label>
                    <div class="col-sm-5">
                        <input type="text" class="form-control" placeholder="结束时间" ng-model="param.data.end" ng-pattern="/^([0-1]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/"
                            required/>
                    </div>
                    <p>必填，格式为：00:00:00</p>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>显示文本：</label>
                    <div class="col-sm-5">
                        <input type="text" class="form-control" placeholder="显示文本" ng-model="param.data.display" required/>
                    </div>
                    <p>必填，格式为：00:00 ~ 00:00</p>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>是否包车时间段：</label>
                    <div class="col-sm-5" style="margin-top: 5px;">
                        <label><input type="radio"  name="monolith" value="true"  ng-model="param.data.monolith"  ng-checked="param.data.monolith==true">是</label>
                        <label style="margin-left: 50px"><input type="radio"  name="monolith"value="false"  ng-model="param.data.monolith" ng-checked="param.data.monolith==false">否</label>
                    </div>
                </div>
            </div>
            <footer class="panel-footer text-right bg-light lter">
                <button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
                <button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
            </footer>
        </div>
    </form>
</div>